<#include "/macro/utils.ftl">
<#if showItems??>
<#assign items = showItems.items>
<#assign preUrl = contextPath + "/movie/trailer/watch-">	
<#list items as item>	
	<#if item.website = 'Imdb'>
		<#assign img = contextPath + item.thumbnail/>
	<#else>
		<#assign img = item.thumbnail!''/>
	</#if>
	<#assign name = item.title>		
	<#assign url = preUrl + item.id>	
	<div class="m_box2_3" style="padding:10px 71px 0 0;">
    	<div class="img"><a href="${url}"><img style="width: 125px; height: 170px;" src="${img}" border="0" title="${name}" /></a></div>
    	<ul>
    	<li class="name"><a href="${url}"><#if name?length &gt; 30>${name?substring(0,29)}...<#else>${name}</#if></a></li>
    	<#if item.publishTime??>
        <li class="c_time">Opens ${item.publishTime?date}</li>
        </#if>
        </ul>
    </div>
</#list>
<div class="clear"/>
</#if>    
